#pragma once
#include "MoveStrategy.h"

class CenterMoveStrategy : public MoveStrategy
{
public:
	CenterMoveStrategy(GraphicsBaseItemData& data);
protected:
	// 通过 MoveStrategy 继承
	void horizontalLimit(const QPointF& newPos, QPointF& returnPos) override;

	void verticalLimit(const QPointF& newPos, QPointF& returnPos) override;
};

